import { Panel } from './panel'
import { renderPanel } from './render'
import { checkUrl } from '../utils/check-url'
import { fullConfirmGoOnLearn } from '../utils/full-confirm-go-on-learn'

// 老页面  https://cqkj-kfkc.webtrn.cn/learnspace
// 新页面 https://learn.courshare.cn
// learnspace/learn/learn

(window as any).fullConfirmGoOnLearn = fullConfirmGoOnLearn

export function initUI () {
  checkUrl()
  const panel = renderPanel(Panel)
  panel.setMovable(true)
  panel.show()
}

